package com.bw.service;

import com.bw.bean.Middle;
import com.bw.bean.Singer;
import com.bw.bean.Song;

import java.util.List;
import java.util.Map;

public interface InService {
    //查询
    List<Song> list(Map map);

    //添加
    int addsong(Song song);
    int addmiddle(Middle middle);
    //歌手名回显
    List<Singer> sing();
    //根据id查询
    Song idlist(Integer sid);
    Song huixian();
    //删除
    int delsong(Integer[] sid);
    int delmiddle(Integer[] sid);
    //评分排行榜
    List<Song> pf();
}
